package com.zff.rental.utils.sql;

/**
 * @author HCY
 */
public interface Join {
    default JoinNext leftJoin(String table) {
        return leftJoin(table, null);
    }

    JoinNext leftJoin(String table, String tableAlias);

    default JoinNext rightJoin(String table) {
        return rightJoin(table, null);
    }


    JoinNext rightJoin(String table, String tableAlias);

    default JoinNext innerJoin(String table) {
        return innerJoin(table, null);
    }

    JoinNext innerJoin(String table, String tableAlias);

    default JoinNext fullJoin(String table) {
        return fullJoin(table, null);
    }

    JoinNext fullJoin(String table, String tableAlias);
}
